package js.web.center.web;

import org.eclipse.jetty.websocket.servlet.ServletUpgradeRequest;
import org.eclipse.jetty.websocket.servlet.ServletUpgradeResponse;
import org.eclipse.jetty.websocket.servlet.WebSocketCreator;
/**
 * 
 * @author dowell
 *
 */
public class JsWebWebSocketCreator implements WebSocketCreator {
	private JsWebSocketAnnotated socketAnnotated=new JsWebSocketAnnotated();
	@Override
	public Object createWebSocket(ServletUpgradeRequest request, ServletUpgradeResponse response) {
		return socketAnnotated;
	}
}